var o, e = require, t = module, n = exports, i = this && this.__extends || (o = function(t, e) {
    return (o = Object.setPrototypeOf || {
        __proto__: []
    } instanceof Array && function(t, o) {
        t.__proto__ = o;
    } || function(t, o) {
        for (var e in o) o.hasOwnProperty(e) && (t[e] = o[e]);
    })(t, e);
}, function(t, e) {
    function n() {
        this.constructor = t;
    }
    o(t, e), t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, 
    new n());
});

Object.defineProperty(n, "__esModule", {
    value: !0
});

var a = e("PlayerModel"), r = function(o) {
    function t() {
        var t = null !== o && o.apply(this, arguments) || this;
        return t.num = 1, t.total = 20, t.idx = 0, t.flag = !1, t;
    }
    return i(t, o), t.prototype.initModel = function(t) {
        this.MAX_HP = this.HP = 3500 + 50 * t.gunIdx, this.SPE = 300, this.MOV = 600, this.pow = 50, 
        this.type = a.ArmType.回旋, this.bullet = 60, this.ATK = 60 + Math.floor(3 * t.gunIdx), 
        this.IDLE = t.IDLE, this.time = t.time, this.count = t.count, this.total = t.total;
    }, t;
}(a.default);

n.default = r;